using System;
using System.Collections.Generic;
using System.Text;

namespace Colman.Rpg.Server
{
     [Serializable]
     public class Types
    {
         
         public Types(int ItemId,string TypeName)
         {
             this.id = ItemId;
             this.typeName = TypeName;
         }
         #region int Id { get; set; } (Id)
         private int id;

         /// <summary>
         /// Gets or sets the tyep's ID.
         /// </summary>
         public virtual int ID
         {
             [System.Diagnostics.DebuggerStepThrough]
             get
             {
                 return this.id;
             }
             [System.Diagnostics.DebuggerStepThrough]
             protected set
             {
                 if (this.id != value)
                 {
                     this.id = value;
                 }
             }
         }
         #endregion

         #region string TypeName { get; set; } (TypeName)
        private string typeName;

         /// <summary>
         /// Gets or sets the tyep's ID.
         /// </summary>
        public virtual string TypeName
         {
             [System.Diagnostics.DebuggerStepThrough]
             get
             {
                 return this.typeName;
             }
             [System.Diagnostics.DebuggerStepThrough]
             protected set
             {
                 if (this.typeName != value)
                 {
                     this.typeName = value;
                 }
             }
         }
         #endregion
    }
}
